<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<s:form action="submitNewBatch">
Add Batch Form
<s:textfield name="batch_name" label="Name"/>
<s:textfield name="description" label="Description"/>
<s:textfield name="student_count" label="Count"/>


<!-- To get from date picker -->
<s:textfield name="start_date" label="Start Date"/>
<s:textfield name="end_date" label="End Date"/>
<s:select list="incharge_list" headerKey="-1" headerValue="--Incharge--" name="incharge_selected" label="Incharge"/>
<!-- Date Picker -->
<s:textfield name="incharge_start_date" label="Incharge Start date"></s:textfield>
<s:textfield name="incharge_end_date" label="Incharge End date"></s:textfield>
<!-- To populate from array Lists -->
<s:textfield name="incharge_id" label="Incharge ID"/>
<s:textfield name="start_year" label="Start Year"/>
<!-- To populate from array Lists -->
<s:select list="degree_list" headerKey="-1" headerValue="--Degree--" name="degree_selected" label="Degree"/>
<s:submit name="Add" label="Add"/>
</s:form>
</body>
</html>